package com.duanzu.duanzucommon.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2021-07-06 15:41:14
 */
public class User implements Serializable {
    private static final long serialVersionUID = -49164583334436856L;
    /**
     * 用户id，主键，自增
     */
    private Integer userid;
    /**
     * 用户名
     */
    private String username;
    /**
     * 用户密码
     */
    private String userpassword;
    /**
     * 用户手机
     */
    private String userphone;
    /**
     * 用户状态，在使用或已注销，默认为1，代表正在使用。0是注销状态
     */
    private Integer userstatus;
    /**
     * 用户创建时间
     */
    private Date usercreatedate;
    /**
     * 身份证号，注册时可为空；但租房和发布房源时需填写身份证号
     */
    private String useridcard;
    /**
     * 头像文件
     */
    private String userfilename;
    /**
     * 用户管理的位置id，只有管理员才有值，普通用户该字段为空
     */
    private Integer usermanagepositionid;


    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public Integer getUserstatus() {
        return userstatus;
    }

    public void setUserstatus(Integer userstatus) {
        this.userstatus = userstatus;
    }

    public Date getUsercreatedate() {
        return usercreatedate;
    }

    public void setUsercreatedate(Date usercreatedate) {
        this.usercreatedate = usercreatedate;
    }

    public String getUseridcard() {
        return useridcard;
    }

    public void setUseridcard(String useridcard) {
        this.useridcard = useridcard;
    }

    public String getUserfilename() {
        return userfilename;
    }

    public void setUserfilename(String userfilename) {
        this.userfilename = userfilename;
    }

    public Integer getUsermanagepositionid() {
        return usermanagepositionid;
    }

    public void setUsermanagepositionid(Integer usermanagepositionid) {
        this.usermanagepositionid = usermanagepositionid;
    }

}
